home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / blat11.zip / GENSOCK / WINVNGEN.TXT < prev   
Text File  |  1994-02-04  |  1KB  |  33 lines

  1. Note: gensock.dll does not currently work with FTP Inc.'s WINSOCK.
  2. If anyone can figure out why, I'd like to know!
  3.  
  4. ---------------------------------------------------------------------------
  5. WinVNgen is a 'generic' version of winvn, that uses a DLL to hold
  6. the 4 functions normally kept in wvsckxxx.c.  This allows there to
  7. be only _one_ version of winvn, and several versions of the 'GENSOCK'
  8. ("generic socket") DLL for each of the multitude of windows sockets
  9. implemenations (of which WINSOCK is one).
  10.  
  11. Build GENSOCK.DLL (gensock.mak is a visual c++ makefile), and copy it
  12. to 'gwinsock.dll'.
  13.  
  14. Build WINVNGEN.EXE, and copy it to 'winvn.exe'.
  15.  
  16. Use as directed.
  17.  
  18. You can change the desired DLL by adding a GenSockDLL parameter in
  19. the '[Communications]' section of winvn.ini.
  20.  
  21. GENSOCK.H contains the interface file.
  22. GENSOCK.CPP contains the C++ source for a WINSOCK interface.
  23.  
  24. Other socket libraries should be easier to write, since GENSOCK.CPP
  25. tries to use WINSOCK's asynchronous message-passing stuff to get a
  26. blocking, yet not-blocking socket (via a PeekMessage Loop).
  27.  
  28. It would also be nice if there were two versions of each GENSOCK DLL,
  29. one for 'release', and one for 'debugging', that might show the
  30. actual text of the NNTP traffic in the little window.
  31.  
  32. -Sam
  33.